import request from "@/utils/request";

// 查询粉煤灰 报告列表
export function listChlFmhbgBsInfo(query) {
  return request({
    url: "/report_chl/chlFmhbgBsInfo/list",
    method: "get",
    params: query
  });
}

// 查询粉煤灰 报告详细
export function getChlFmhbgBsInfo(excelId) {
  return request({
    url: "/report_chl/chlFmhbgBsInfo/" + excelId,
    method: "get"
  });
}

// 新增粉煤灰 报告
export function addChlFmhbgBsInfo(data) {
  return request({
    url: "/report_chl/chlFmhbgBsInfo",
    method: "post",
    data: data
  });
}

// 修改粉煤灰 报告
export function updateChlFmhbgBsInfo(data) {
  return request({
    url: "/report_chl/chlFmhbgBsInfo",
    method: "put",
    data: data
  });
}

// 删除粉煤灰 报告
export function delChlFmhbgBsInfo(excelId) {
  return request({
    url: "/report_chl/chlFmhbgBsInfo/" + excelId,
    method: "delete"
  });
}

// 粉煤灰报告-检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_chl/chlFmhbgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
